//////////////////////////////////////////////////
// STUDENT RESEARCH PROJECT						//
// UNIVERSITY OF HAGEN 2012						//
// File:	EepromMemory.h						//
// Date:	25.09.2012							//
// Author:	Max Pejs							//
//////////////////////////////////////////////////

#ifndef _EEPROMMEMORY_H_
#define _EEPROMMEMORY_H_

#include "typedef.h"
#ifndef WIN32
#include <EEPROM.h>
#endif

class EepromMemory
{
public:
	static void write(UInt16 Adress, UInt16 Value);
	static void write(UInt16 Adress, UInt8 Value);
	
	static UInt16 readUInt16(UInt16 Adress);
	static UInt8  readUInt8(UInt16 Adress);
};

extern EepromMemory EEPROMMEM;

#endif	// _EEPROMMEMORY_H_